<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('卡号列表')"/>
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
    var prefix = ctx + "road/road/";
    var id = [[${roadId}]];
    $(function () {
        var options = {
            url: prefix + "/lookEquimentList/" + id,
            showSearch: false,
            showRefresh: false,
            showToggle: false,
            showColumns: false,
            modalName: "sim",
            columns: [
                {
                    title: "序号",
                    formatter: function (value, row, index) {
                        return $.table.serialNumber(index);
                    }
                },
                {
                    field: 'sim',
                    title: 'sim卡号',
                    align: 'center',
                },
                {
                    field: 'name',
                    title: '设备名称',
                    align: 'center',
                },
            ]
        };
        $.table.init(options);
    });


</script>
</body>
</html>